package com.ruoyi.ledger.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 账本配置信息详情
 * @author: zyh
 * @date: 2025/3/3 11:56
 **/
public class LedgerConfigInfo extends BaseEntity {


    private static final long serialVersionUID = 1L;

    /** 账本配置项主键 */
    private String configInfoId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String name;

    /** 项目类型id */
    @Excel(name = "项目类型id")
    private String ledgerConfigId;

    /** 0:否 1:是 默认 1 */
    @Excel(name = "0:否 1:是 默认 1")
    private Integer isOpen;

    /** 0:否 1:是 默认 1 */
    @Excel(name = "0:否 1:是 默认 1")
    private Integer isEdit;

    /** 账本id */
    @Excel(name = "账本id")
    private String ledgerRecordId;

    /** 账户id */
    @Excel(name = "账户id")
    private String userId;

    /** 0:否 1:是 默认 1 */
    @Excel(name = "0:否 1:是 默认 1")
    private Integer isRequired;

    /** 标签地址 */
    @Excel(name = "标签地址")
    private String iconUrl;

    /** 是否删除0 ：否 1:是 */
    @Excel(name = "是否删除0 ：否 1:是")
    private Integer isDelete;

    public void setConfigInfoId(String configInfoId)
    {
        this.configInfoId = configInfoId;
    }

    public String getConfigInfoId()
    {
        return configInfoId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setLedgerConfigId(String ledgerConfigId)
    {
        this.ledgerConfigId = ledgerConfigId;
    }

    public String getLedgerConfigId()
    {
        return ledgerConfigId;
    }
    public void setIsOpen(Integer isOpen)
    {
        this.isOpen = isOpen;
    }

    public Integer getIsOpen()
    {
        return isOpen;
    }
    public void setIsEdit(Integer isEdit)
    {
        this.isEdit = isEdit;
    }

    public Integer getIsEdit()
    {
        return isEdit;
    }
    public void setLedgerRecordId(String ledgerRecordId)
    {
        this.ledgerRecordId = ledgerRecordId;
    }

    public String getLedgerRecordId()
    {
        return ledgerRecordId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public void setIsRequired(Integer isRequired)
    {
        this.isRequired = isRequired;
    }

    public Integer getIsRequired()
    {
        return isRequired;
    }
    public void setIconUrl(String iconUrl)
    {
        this.iconUrl = iconUrl;
    }

    public String getIconUrl()
    {
        return iconUrl;
    }
    public void setIsDelete(Integer isDelete)
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete()
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("configInfoId", getConfigInfoId())
                .append("name", getName())
                .append("ledgerConfigId", getLedgerConfigId())
                .append("isOpen", getIsOpen())
                .append("isEdit", getIsEdit())
                .append("remark", getRemark())
                .append("ledgerRecordId", getLedgerRecordId())
                .append("userId", getUserId())
                .append("isRequired", getIsRequired())
                .append("iconUrl", getIconUrl())
                .append("isDelete", getIsDelete())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
